package com.change.declare.crm.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.change.common.utils.PageUtils;
import com.change.common.utils.Query;

import com.change.declare.crm.dao.ClientadminDao;
import com.change.declare.crm.entity.ClientadminEntity;
import com.change.declare.crm.service.ClientadminService;


@Service("clientadminService")
public class ClientadminServiceImpl extends ServiceImpl<ClientadminDao, ClientadminEntity> implements ClientadminService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ClientadminEntity> page = this.page(
                new Query<ClientadminEntity>().getPage(params),
                new QueryWrapper<ClientadminEntity>()
        );

        return new PageUtils(page);
    }

}